<%= error_messages_for 'customer' %>

<!--[form:customer]-->
<p><label for="customer_name">Asiakas</label><br/>
<%= text_field 'customer', 'name'  %></p>

<p><label for="customer_domain">Toimiala</label><br/>
<%= text_field 'customer', 'domain'  %></p>

<p><label for="customer_phone">Puhelin</label><br/>
<%= text_field 'customer', 'phone'  %></p>

<p><label for="customer_fax">Faksi</label><br/>
<%= text_field 'customer', 'fax'  %></p>

<p><label for="customer_homepage">Kotisivu</label><br/>
<%= text_field 'customer', 'homepage'  %></p>

<p><label for="customer_tags[]">Merkinnät</label><br/>
<%= select_tag("customer_tags[]", options_from_collection_for_select(Tag.find(:all), "id", "name", @customer.tags.collect {|t| t.id}), {:multiple=>true, :size=>6})%></p>
<!--[eoform:customer]-->